#include"SeqList.h"

void test1()
{
	SL s;
	SLInit(&s);
	SLPushBack(&s, 1);
	SLPushBack(&s, 2);
	SLPushBack(&s, 3);
	SLPushBack(&s, 4);
	SLPushBack(&s, 5);
	SLPushFront(&s, -1);
	SLPushFront(&s, -2);
	SLPrint(&s);

	SLErase(&s, 3);
	SLPrint(&s);

	SLErase(&s, SLFind(&s, 4));
	SLPrint(&s);


	//SLInsert(&s, 2, 2);
	SLPrint(&s);
	SLDestroy(&s);
}
int main()
{
	test1();
	return 0;
}